<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="resources/js/jquery/jquery-1.10.2.js"></script>
	
	
	<script type="text/javascript">
		var jq = jQuery.noConflict();
	</script>
</head>
<body>
	
	<center><h1>Product</h1></center>
	<a href="/catalog/main" >На главную</a>
	<a href="/catalog/j_spring_security_logout" > Logout</a>
	<table width="100%">
	<tr>
		<td>IMAGE</td>
		<td>NAME</td>
		<td>DESCRIPTION</td>
		<td>COST</td>
		<td>WEIGHT</td>
		<td>QUANTITY</td>
	</tr>
	<tr>
		<td><img src="resources/img/${product.idProduct}.jpg"></td>
		<td>${product.name}</td>
		<td>${product.description}</td>
		<td>${product.cost}</td>
		<td>${product.weight}</td>
		<td>${product.quantity}</td>
	</tr>
	</table>
</body>
</html>